The GetSelect function method retrieves the selected items within a graphic window.
p = PLOT(/TEST, LAYOUT=[2,1,1])
c = CONTOUR(/TEST, LAYOUT=[2,1,2], /CURRENT)
; Click on something
; Retrieve the selected item(s)
graphics = p.Window.GetSelect()
Result = window.GetSelect( )
The result is an array of graphics items, or !NULL if nothing is currently selected.
None
None
8.0 |
Introduced |